package com.hesicare.health.mapper;

import com.hesicare.health.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserMapper {

    public int insertUser(SysUser sysUser);

    public int updateUser(SysUser sysUser);

    public SysUser selectUserByLoginName(String loginName);

    public SysUser selectUserByHisUserId(String hisUserId);

    public SysUser selectUserById(String userId);

    public List<SysUser> getUserByHisUserIdIsNotNull();
}
